package com.maxuxu.scihome.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @className: Page
 * @author: Maxuxu
 * @date: 2022/7/1 8:51
 * @description: 分页实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Pages {
    private List records;
    private long total;
    private long pages;
    private long current;
    private long size;
}
